package indi.kider.server.employee.service;

import indi.kider.common.model.employee.AppUser;

public interface UserService {


    void insert(String phone, Integer role);

    void del(String phone, Integer role);

    void modify(String phone, String oldPwd, String newPwd) throws Exception;

    void modify(String oldPhone, String newPhone);

    AppUser getRelatedUser(String phone, Integer role) throws Exception;


    AppUser login(String phone, String pwd) throws Exception;
}
